←Select platform

BeginGetJpipResponse(String,RequestFields,Byte[],AddDatabinCallback,AsyncCallback,Object) Method

Summary

Makes an asynchronous request to a JPIP server.

Syntax

C#
VB
C++
public IAsyncResult BeginGetJpipResponse(  
   string path, 
   Leadtools.Jpip.RequestFields requestFields, 
   byte[] postedData, 
   Leadtools.Jpip.Client.AddDatabinCallback addDatabinCallback, 
   AsyncCallback callBack, 
   object state 
) 
Public Overloads Function BeginGetJpipResponse( _ 
   ByVal path As String, _ 
   ByVal requestFields As Leadtools.Jpip.RequestFields, _ 
   ByVal postedData() As Byte, _ 
   ByVal addDatabinCallback As Leadtools.Jpip.Client.AddDatabinCallback, _ 
   ByVal callBack As AsyncCallback, _ 
   ByVal state As Object _ 
) As IAsyncResult 
public: 
IAsyncResult^ BeginGetJpipResponse(  
   String^ path, 
   Leadtools.Jpip.RequestFields^ requestFields, 
   array<byte>^ postedData, 
   Leadtools.Jpip.Client.AddDatabinCallback^ addDatabinCallback, 
   AsyncCallback^ callBack, 
   Object^ state 
) 

Parameters

path
A System.String representing the resource to locate at the server. This is usually the image name to locate.

requestFields
A Leadtools.Jpip.RequestFields object which contains the JPIP fields.

postedData
An array of System.Byte that contains data to send in the request body.

addDatabinCallback
A delegate of type AddDatabinCallback to be called whenever a new data-bin is read.

callBack
A System.Delegate to call when this method is completed and a response is received from the server.

state
An System.Object that contains state information for this request.

Return Value

An System.IAsyncResult that references the asynchronous request.

Remarks

To use this method, create a callback method that implements the AsyncCallback delegate and pass its name to the BeginGetJpipResponse method.

The callback method should invoke the EndGetJpipResponse method.

Example

For an example, refer to JpipClient.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Click or drag to resize